package com.sqx.modules.creation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.common.utils.Result;
import com.sqx.modules.creation.entity.NCreationComment;
import com.sqx.modules.creation.entity.dto.AddCommentDto;
import com.sqx.modules.creation.entity.dto.AddCommentReplyDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024年09月06日
 */
public interface CreationCommentService extends IService<NCreationComment> {

    Result addComment(Long userId, AddCommentDto addCommentDto);

    Result addCommentReply(Long userId, AddCommentReplyDto addCommentReplyDto);

    Result getCommentList(Long userId,Long creationId,Integer page,Integer limit);

    Result getReplyList(Long userId, Long commentId,Integer page,Integer limit);

    Result selCommentById(Integer commentId);
}
